home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7528 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  900 b 

  1. Path: yarrina.connect.com.au!usenet
  2. From: Andrew Dalgleish <andrewd@axonet.com.au>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: HELP: Illegal Pointer Arithmetic
  5. Date: Tue, 27 Feb 1996 18:53:50 +1000
  6. Organization: Axon Research, Pty Ltd
  7. Message-ID: <3132C69E.3B89@axonet.com.au>
  8. References: <4gj0ug$730@news.one.net>  <Pine.SV4.3.91-heb-2.04.960224061304.17461C-100000@cs.technion.ac.il>
  9. NNTP-Posting-Host: 203.63.6.118
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (Win95; I)
  14.  
  15. Kohn Emil Dan wrote:
  16. > To solve the problem, replace "\0" with '\0'.
  17.  
  18. Even better, replace "\0" with 0. I often make typos and lose the \, 
  19. which then assigns '0' (ASCII for zero)
  20.  
  21. -- 
  22. Andrew Dalgleish
  23. Senior Software Engineer
  24. Axon Research, Pty Ltd
  25. 6 Wallace Ave
  26. Toorak, VIC
  27. 3142
  28. AUSTRALIA
  29. Tel:    +61-3-9826-5538
  30. Fax:    +61-3-9824-0083
  31. Email:    andrewd@axonet.com.au
  32.